class Person(object):
    def speak(self):
        print(self)
        print('nice to meet you')

p1 = Person()
print(p1)

p1.speak()